home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_100
/
106_01
/
stdef.c
< prev
next >
Wrap
Text File
|
1980-07-08
|
768b
|
40 lines
/* standard definition library file
**
** Version 1.3 16-Aug-80
*/
char strbuf[256]; /* string buffer */
#define SBP &strbuf[0]
#define BDOS_ERR 255
#define CPM_EOF 26
#define DIGIT 0
#define EOF -1
#define EQUAL 0
#define ERROR -1
#define FALSE 0
#define K 1024
#define NO 0
#define RESET 0
#define SECTOR 128
#define SET -1
#define TRUE -1
#define U_CASE 95
#define YES 1
#define ALPHA 'a'
#define ANY '?'
#define ASCII 48
#define BELL 7
#define CR '\r'
#define D_QUOTE '"'
#define EOS '\0'
#define ESCAPE 27
#define FORM_FEED 12
#define LF '\n'
#define NEWLINE '\n'
#define NULL '\0'
#define QUOTE 39
#define SPACE ' '
#define TAB '\t'